<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div class="pd-20" style="padding-top:20px;">
            <p class="f-20 text-success">欢迎进入后台管理中心！</p>
            <p>上次登录ip:     {$user.user_lastip}</p>
            <p>上次登录时间:     {$smarty.session.lasttime|date_format:"%Y-%m-%d %H:%M:%S"}</p>
            <p>当前时间:     {$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}</p>          
            <table class="table table-border table-bordered table-bg mt-20">
                <thead>
                    <tr>
                        <th colspan="2" scope="col">服务器信息</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>系统:</td>
                        <td>{$smarty.const.PHP_OS}</td>
                    </tr>
                    <tr>
                        <td>PHP:</td>
                        <td>{$smarty.const.PHP_VERSION}</td>
                    </tr>
                    <tr>
                        <td>apache:</td>
                        <td>{$system.apache}</td>
                    </tr>
                    <tr>
                        <td>mysql:</td>
                        <td>{$system.mysql}</td>
                    </tr>
                    <tr>
                        <td>端口:</td>
                        <td>{$smarty.server.SERVER_PORT}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </body>
</html>
